<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\EduEnterOrder */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="edu-enter-order-form">

    <?php $form = ActiveForm::begin(); ?>

    <!--    --><? //= $form->field($model, 'user_id')->textInput() ?>

    <!--    --><? //= $form->field($model, 'openid')->textInput(['maxlength' => true]) ?>

    <!--    --><? //= $form->field($model, 'gift_id')->textInput() ?>

    <!--    --><? //= $form->field($model, 'out_trade_no')->textInput(['maxlength' => true]) ?>

    <!--    --><? //= $form->field($model, 'total_fee')->textInput(['maxlength' => true]) ?>

    <!--    --><? //= $form->field($model, 'count')->textInput() ?>

    <?= $form->field($model, 'status')->dropDownList([
        0 => '未支付',
        1 => '已支付',
        2 => '已发货',
        3 => '已收货',
    ]) ?>

    <!--    --><? //= $form->field($model, 'create_time')->textInput() ?>

    <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'phone')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'address')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'logistics')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'logistics_fee')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'order_num')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'info')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'remark')->textarea() ?>

    <!--    --><? //= $form->field($model, 'style')->textInput() ?>

    <div class="form-group">
        <?= Html::submitButton('保存', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
